package cn.tedu.front.details.dao.persist.mapper;

import cn.tedu.front.details.pojo.entity.Company;
import cn.tedu.front.details.pojo.vo.CompanyVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CompanyMapper extends BaseMapper<Company> {
    //根据id查询公司详情
    CompanyVO getCompanyById(Long id);
    //查询所有的vo数据
    List<CompanyVO> getCompany();
}
